#ifndef DEINADD_H
#define DEINADD_H

#include <QWidget>
#include <add-market/addmarket.h>
#include <QMenu>
#include <QMenuBar>
#include <QSystemTrayIcon>
#include <QPluginLoader>

namespace Ui {
class deinAdd;
}

class deinAdd : public QWidget
{
    Q_OBJECT

public:
    explicit deinAdd(QWidget *parent = 0);
    ~deinAdd();
public slots:
    void openMarket();

    void openInfoTab();
    void hideAddBTNByBTN();
    void openSubWindow(QWidget *plugin);
protected:
    void deinAddInitUI();
private slots:
    void closeMe();
    void setupSystemTrayIcon();
private:
    Ui::deinAdd *_ui;

    addmarket *_market;

    QMenu *_menuDatei;
    QMenuBar *_menuBar;
    QMenu *_menuTray;

    QSystemTrayIcon *_systemTrayIcon;
};

#endif // DEINADD_H
